package com.dragon.graduation.student.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.generator.CommonBean;
import lombok.*;

/**
* <p>
* 学生表 实体类
* </p>
*
* @author dragon
* @since 2025-02-28 21:22:17
*/

@TableName("db_student")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class StudentEntity extends CommonBean {
    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 学号
     */
    @TableField("student_number")
    private String studentNumber;

    /**
     * 学生姓名
     */
    @TableField("student_name")
    private String studentName;
    /**
     * 班级
     */
    @TableField("class_name")
    private String className;
    /**
     * 专业
     */
    @TableField("major")
    private String major;
    /**
     * 入学年份
     */
    @TableField("enrollment_year")
    private String enrollmentYear;
}